<%-- 
    Document   : bookadd
    Created on : 2009-6-29, 10:42:49
    Author     : Administrator
--%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>发表留言----syuebook留言本系统</title>
		<link href="css.css" rel="stylesheet" type="text/css">
    </head>
	<body background="img/01.jpg" leftmargin="0" topmargin="0">
		<jsp:include page="header.jsp" />
		<table width="770" height="20" border="0" align="center" cellpadding="0" cellspacing="0"
			bgcolor="#ffffff">
			<tr>
				<td>&nbsp;</td>
			</tr>
		</table>
		<table width="770" height="30" border="0" align="center" cellpadding="0" cellspacing="0"
			bgcolor="#ffffff">
			<tr>
				<td width="21%" align="center"><img src="img/05.jpg" width="120" height="28" border="0"></td>
				<td width="22%"><a href="admin.zhoulang"><img src="img/06.jpg" width="120" height="28" border="0"></a></td>
				<td width="40%">&nbsp;</td>
				<td width="17%"><a href="default.zhoulang" class="css">[返回首页]</a></td>
			</tr>
		</table>
		<table width="770" height="20" border="0" align="center" cellpadding="0" cellspacing="0"
			bgcolor="#ffffff">
			<tr>
				<td>&nbsp;</td>
			</tr>
		</table>
		<table width="770" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
			<tr>
				<td><table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td>
								<form action="addbook" method="post" name="bookform">
									<table width="75%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#96be78"
										class="css">
										<tr align="center" bgcolor="#e4ecd2">
											<td height="24" colspan="2" class="css"><strong><font color="#ff0000">发表我的留言</font></strong><font color="#666666">（带*为必填项）</font></td>
										</tr>
										<tr bgcolor="#e4ecd2">
											<td width="22%" align="center">留言昵称：</td>
											<td width="78%">
												<input name="username" value="昵称" /><font color="#ff3333">&nbsp;*&nbsp;</font>
											</td>
										</tr>
										<tr bgcolor="#e4ecd2">
											<td align="center">留言标题：</td>
											<td>
												<input name="title" value="标题" /><font color="#ff3333">&nbsp;*&nbsp;</font>
											</td>
										</tr>
										<tr bgcolor="#e4ecd2">
											<td align="center" style="HEIGHT: 154px">留言内容：</td>
											<td style="HEIGHT: 154px">
												<textarea name="note" cols="30" rows="4">内容</textarea><font color="#ff3333">&nbsp;*&nbsp;</font>
											</td>
										</tr>
										<tr bgcolor="#e4ecd2">
											<td align="center">留言表情：</td>
											<td>
												<input type="hidden" name="face" id="bookface" value="face1"/>
												<a href="javascript:void(0)" class="CFace" id="face1" onclick="S('face1')"><img src="img/face1.gif" alt="" border="0"/></a>
												<a href="javascript:void(0)" class="LFace" id="face2" onclick="S('face2')"><img src="img/face2.gif" alt="" border="0"/></a>
												<a href="javascript:void(0)" class="LFace" id="face3" onclick="S('face3')"><img src="img/face3.gif" alt="" border="0"/></a>
												<a href="javascript:void(0)" class="LFace" id="face4" onclick="S('face4')"><img src="img/face4.gif" alt="" border="0"/></a>
												<a href="javascript:void(0)" class="LFace" id="face5" onclick="S('face5')"><img src="img/face5.gif" alt="" border="0"/></a>
												<a href="javascript:void(0)" class="LFace" id="face6" onclick="S('face6')"><img src="img/face6.gif" alt="" border="0"/></a>
												<a href="javascript:void(0)" class="LFace" id="face7" onclick="S('face7')"><img src="img/face7.gif" alt="" border="0"/></a>
												 <script type="text/javascript">
													 var LastA=document.getElementById("face1");
													 function S(Face){
														  LastA.className="LFace";
														  document.getElementById(Face).className="CFace";
														  LastA=document.getElementById(Face);
														  document.getElementById(Face).blur();
														  document.getElementById("bookface").value=Face;
													 }
												</script>
											</td>
										</tr>
										<tr align="center" bgcolor="#e4ecd2">
											<td height="60" colspan="2">
												<input type="submit" value="提交" />&nbsp; <INPUT id="Reset1" type="reset" value="清除留言" name="Reset1">${BookId}
											</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
					</table>
					<table width="75%" border="0" align="center" cellpadding="0" cellspacing="0">
						<tr>
							<td>&nbsp;</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<jsp:include page="foot.jsp" />
    </body>
</html>